package com.smartlifev30.baiwei.bean;

import android.support.v4.app.Fragment;

/**
 * 控制
 * Created by tys on 2018/8/17.
 */

public class ControlPage {

    /**
     * 每一页显示的fragment
     */
    private Fragment fragment;

    /**
     * 描述信息. tab的标题
     */
    private String description;

    public ControlPage(Fragment fragment, String description) {
        this.fragment = fragment;
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public Fragment getFragment() {
        return fragment;
    }
}
